package com.yej.aiPolice.util

import android.webkit.WebView
import android.webkit.WebViewClient

class MyWebViewClient : WebViewClient(){
    override fun shouldOverrideUrlLoading(
        view: WebView,
        url: String?
    ): Boolean { //    return super.shouldOverrideUrlLoading(view, url);
        view.loadUrl(url)
        return true
    }

    override fun onReceivedError(
        view: WebView?, errorCode: Int,
        description: String?, failingUrl: String?
    ) {
    }
}